home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1993 April
/
CICA MS Windows - April 1993.iso
/
unzipped
/
util
/
sabdu201
/
win30.bat
< prev
Wrap
DOS Batch File
|
1992-11-01
|
2KB
|
46 lines
@ECHO OFF
@ECHO
@ECHO The function of this batch file is to check to see if the COMMDLG.DLL
@ECHO file is available in your WINDOWS\SYSTEM directory and to copy it
@ECHO there if it is not. It is only needed if your are running Microsoft
@ECHO Windows Version 3.0. It is not needed for Microsoft Windows Version
@ECHO 3.1 or higher.
@ECHO
IF %1.==. GOTO SYNTAX
@ECHO If you are running Microsoft Windows 3.1 or higher you may terminate
@ECHO this batch file by pressing Ctrl-C and responding Y to the prompt.
@ECHO Otherwise
PAUSE
IF %1==? GOTO HELP
IF NOT EXIST COMMDLG.DLL GOTO NODLL
IF NOT EXIST %1\WIN.INI GOTO NOTDIR
IF EXIST %1\COMMDLG.DLL GOTO EXISTS
IF EXIST %1\SYSTEM\COMMDLG.DLL GOTO EXISTS
COPY COMMDLG.DLL %1
GOTO EXIT
:HELP
@ECHO %0 must be run from the drive and directory you have the SABDU
@ECHO distribution files in. Normally this would be the root directory
@ECHO of your A: or B: drive.
:SYNTAX
@ECHO The correct syntax for %0 is:
@ECHO %0 d:\windows
@ECHO Where d:\windows is the drive and directory you installed Microsoft
@ECHO Windows 3.0 in.
GOTO EXIT
:NOTDIR
@ECHO %1 is not the WINDOWS directory.
goto exit
:EXISTS
@ECHO COMMDLG.DLL already exists.
@ECHO It is not necessary to copy it again.
goto exit
:NODLL
@ECHO COMMDLG.DLL is not in the current directory. %0 must be run from
@ECHO the drive and directory you have the SABDU distribution files in.
@ECHO Normally this would be the root directory of your A: or B: drive.
GOTO EXIT
:EXIT
@ECHO